--- ./lib/plugins/base/getauthtoken.py.orig	2013-05-09 13:39:06.000000000 +0000
+++ ./lib/plugins/base/getauthtoken.py	2014-07-14 18:28:59.000000000 +0000
@@ -1,5 +1,6 @@
 import urllib
 import cgi
+import sys
 
 from oauth import oauth
 from gi.repository import GObject
@@ -8,6 +9,10 @@
 
 SIGNATURE_METHOD = oauth.OAuthSignatureMethod_HMAC_SHA1()
 
+_encoding = sys.getfilesystemencoding()
+if _encoding is None:
+    _encoding = 'utf-8'
+
 class AuthorizedAccount(GObject.GObject):
 
     __gsignals__ = {
@@ -21,7 +26,7 @@
 
     def get_recent_api(self, label_list, feedliststore):
         recent = self.SETTINGS.get_int('recent-target')
-        old_target = feedliststore[Column.TARGET].decode('utf-8') \
+        old_target = feedliststore[Column.TARGET].decode(_encoding) \
             if feedliststore else None
 
         default_menuitem = self.api_dict.get_default().name
